# About
I made these for private use, but thought to share them. These have been useful for writing low-level kernel initialization debugging.

# The utilities
`x86_64-analyze-paging-struct` takes in the entry as a single number, which is obtained by printing an entry as a 64-bit unsigned integer. The type field specifies what you printed.

`x86_64-construct-vaddr` turns 5 numbers into a virtual address. The numbers are the indices in the different paging structures. `x86_64-deconstruct-vaddr` turns a virtual address into the indices. The byte index (bi) is the index in the page itself (the lowest 12 bits), it is not touched by paging anyway. Virtual addresses are sign-extended when created, but deconstruction does not warn about non-extended addresses.
